package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.OrderSettingList;

import java.util.Map;

/**
 * @author houzongtao
 * @date 2020/8/30 15:38
 */
public interface OrderSettingListService {
    PageResult pageQuery(QueryPageBean queryPageBean);

    Result add(OrderSettingList orderSettingList, Integer setmealId) throws Exception;

    OrderSettingList findById(Integer id);

    Integer findSetmealIdByOrderId(Integer id);

    Result edit(OrderSettingList orderSettingList, Integer setmealId) throws Exception;

    void delete(Integer id);

    void changeStatus(Map map);
/*
    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString, String startDate, String endDate, String orderType, String orderStatus);
*/
}
